alert('SceneLogoDev.js loaded');

function SceneLogoDev() {

};

SceneLogoDev.prototype.initialize = function () {
	alert("SceneLogoDev.initialize()");
	// this function will be called only once when the scene manager show this scene first time
	// initialize the scene controls and styles, and initialize your variables here
	// scene HTML and CSS will be loaded before this function is called
	
	
	//FADE IN IMAGE
			$('#logoDev, #Name01, #Name02, #Name03').fadeIn('slow', function() {
				
			setTimeout(function () {
				  sf.scene.hide('LogoDev');
			         sf.scene.show('Menu');
			         sf.scene.focus('Menu');
			}, 3000);
			
			});
			
			
	$('#logoDev').sfImage({
		src:'images/logoDev.jpg'
	});
	$('#Name01').sfLabel({
		text:'@Yaffare'
	});
	$('#Name02').sfLabel({
		text:'@vivienspreux'
	});
	$('#Name03').sfLabel({
		text:'@paninom_the_1st'
	});
};

SceneLogoDev.prototype.handleShow = function (data) {
	alert("SceneLogoDev.handleShow()");
	// this function will be called when the scene manager show this scene
};

SceneLogoDev.prototype.handleHide = function () {
	alert("SceneLogoDev.handleHide()");
	// this function will be called when the scene manager hide this scene

};

SceneLogoDev.prototype.handleFocus = function () {
	alert("SceneLogoDev.handleFocus()");
	// this function will be called when the scene manager focus this scene


      
       
};

SceneLogoDev.prototype.handleBlur = function () {
	alert("SceneLogoDev.handleBlur()");
	// this function will be called when the scene manager move focus to another scene from this scene
};




SceneLogoDev.prototype.handleKeyDown = function (keyCode) {
	alert("SceneLogoDev.handleKeyDown(" + keyCode + ")");
	// TODO : write an key event handler when this scene get focued
	switch (keyCode) {
		case sf.key.LEFT:
			break;
		case sf.key.RIGHT:
			break;
		case sf.key.UP:
			break;
		case sf.key.DOWN:
			break;
		case sf.key.ENTER:
			break;
		default:
			alert("handle default key event, key code(" + keyCode + ")");
			break;
	}
};